package chat.ourGamePackage;

import javax.swing.*;

import com.sun.java.swing.plaf.windows.resources.windows;

public class Gui
{
	JFrame window;
	DrawPanel panel;
	
	public Gui()
	{
		window = new JFrame("Game");
		panel = new DrawPanel();
		window.setSize(800,600);
		window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		window.getContentPane().add(panel);
		window.setResizable(false);
		window.setVisible(true);
	}
	
	public void go()
	{
		panel.startGame();
	}
	
	public static void main(String[] args)
	{
		Gui game = new Gui();
		game.go();
	}
}
